{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "#1、读取数据\n",
    "import pandas as pd\n",
    "\n",
    "pd.read_csv(\"../data/豆瓣电影.txt\",names=[\n",
    "    \"share_id\",\n",
    "    \"daoyan\",\n",
    "    \"bianju\",\n",
    "    \"actor\",\n",
    "    \"leixing\",\n",
    "    \"diqu\",\n",
    "    \"yuyan\",\n",
    "    \"youmin\",\n",
    "    \"time\",\n",
    "    \"runtime\",\n",
    "    \"score\"\n",
    "],encoding=\"UTF-8\")\n"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
